<%@page import="java.util.*"%>

<%

HashMap<String, Integer> category = (HashMap<String, Integer>)request.getAttribute("category");
if(!category.isEmpty())
{
	Set<String> set = new HashSet<String>();		
	set = category.keySet();
	int keyofOther = 0;
		
	for(Iterator<String> iter = set.iterator();iter.hasNext();){
		String value = (String)iter.next();
		if(!value.equals("Others")){
%>
		<option value="<%=category.get(value) %>"><%= value%></option>
<%		}
		else{
			keyofOther=category.get(value);
		}
	}
%>
	<option value="<%=keyofOther %>">Others</option>
<%
}
%>

			